<?php
defined('TDIR') or die('Bad request.');
header('Content-Type: text/html; charset=utf-8');
?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<?php if(isset($tv[3]))echo $tv[3];?>
		<title><?php echo $tv[0];?></title>
	</head>
	<body>
	<div>
		<?php include_once TDIR.'/tpl/'.$tv[1].'.php';?>
	</div>
	</body>
</html>